#encoding:utf8
import os

# 数据库配置
mysql_info = {
    "host": "localhost",
    "port": 3306,
    "db_name": "spider",
    "username": "root",
    "password": "",
    "table_name": "taskers"
}


# debug 设置
DEBUG = True


# auth code
AUTH_CODE = "auth_code"


# 程序并发的任务个数
CONCURRENCE = 10
CONCURRENCE_INTERVAL = 1  # seconds, 并发任务扫描间隔



# PYTHON PATH
PYTHON_PATH = "/Users/mavarick/anaconda2/bin/python"

# Base path
BASE_PATH = os.path.dirname(os.path.abspath(__file__))